<!DOCTYPE html>
<html>
<head>
	<title>添加用户</title>
</head>
<body>
	<form action="{:url('doadduser')}">
		<input type="text" name="realname" placeholder="请输入真实姓名"><br>
		<input type="password" name="pw"><br>
		<input type="text" name="tele" placeholder="请输入联系方式"><br>
		<input type="email" name="mail" placeholder="请输入邮箱"><br>
		<select name="rid">
            {volist name ="roles" id = "vo"}
            <option value="{$vo.rid}">{$vo.rolename}</option>
            {/volist}
		</select><br>
		<input type="submit" value="添加">
	</form>
</body>
</html>